package com.example.medicalzb.mapper;

import com.example.medicalzb.entity.MedicalPolicyEntity;
import com.example.medicalzb.model.MedicalPolicyModel;
import com.example.medicalzb.param.MedicalPolicyParam;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface MedicalPolicyMapper {
    List<MedicalPolicyModel> getAllMedicalPolicy(MedicalPolicyParam medicalPolicyParam);

    void deleteByCity(Integer id);

    int saveMedicalPolicy(MedicalPolicyEntity medicalPolicyEntity);

    int updateMedicalPolicy(MedicalPolicyEntity medicalPolicyEntity);

    int deleteMedicalPolicy(Long id);
}
